#ifndef MESH_H_
#define MESH_H_

#include <list>
#include "math/Vec3.h"
class Mesh {
public:
	Mesh();
    void addFace(const Vec3& v1, const Vec3& v2, const Vec3 & v3, const Vec3 &norm);
    
    void setColor(float, float, float);
    void render();
    
private:
    
    //FIXME considerar normais.
    class Face {
    public:
        Face(const Vec3& _v1, const Vec3& _v2, const Vec3 & _v3, const Vec3 &norm);
        Vec3 v1, v2, v3;
        Vec3 normal;
    };
   
    std::list<Face> faces;
    float color[3];
};

#endif /* MESH_H_ */
